package com.hoshiibuy.spu.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * SPU基本资料分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/4/30 11:39
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class BaseSpuPageParam {
    /**
     *当前页
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量从1开始
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    /**
     * 商品标题
     */
    @ApiModelProperty(name = "title", value = "商品标题", dataType = "java.lang.String", example = "衬衫")
    private String title;

    /**
     * 商品副标题
     */
    @ApiModelProperty(name = "subTitle", value = "商品副标题", dataType = "java.lang.String", example = "女士V领")
    private String subTitle;

    /**
     * 销售单位
     */
    @ApiModelProperty(name = "saleUnit", value = "销售单位", dataType = "java.lang.String", example = "白马服饰")
    private String saleUnit;

    /**
     * 包装单位
     */
    @ApiModelProperty(name = "packetUnit", value = "包装单位", dataType = "java.lang.String", example = "包装单位")
    private String packetUnit;
}  